package com.ruoyi.basedocument.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 计量单位对象 t_bom_baseunit
 * 
 * @author ruoyi
 * @date 2024-09-23
 */
public class BomBaseunit extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private String id;

    /** 名称 */
    @Excel(name = "名称")
    private String baseunitname;

    /** 编码 */
    @Excel(name = "编码")
    private String baseunitnumber;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setBaseunitname(String baseunitname) 
    {
        this.baseunitname = baseunitname;
    }

    public String getBaseunitname() 
    {
        return baseunitname;
    }
    public void setBaseunitnumber(String baseunitnumber) 
    {
        this.baseunitnumber = baseunitnumber;
    }

    public String getBaseunitnumber() 
    {
        return baseunitnumber;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("baseunitname", getBaseunitname())
            .append("baseunitnumber", getBaseunitnumber())
            .toString();
    }
}
